Straight line with line tool or pencil tool is a bit off

lines_example

In the lower example the points are at the same distance and angle yet the resulting line is not straight.