Changed how lines, rects, and points are drawn

Based on feedback from Laurent, the author of SFML, I made some
performance fixes to drawing primitives.