Changed how lines are drawn to use triangles

Since line width was a problem when viewport scales were not 1:1 I
decided to change how lines are drawn; there are still issues but now
the lines scale correctly.