Fixed a rendering bug in the point drawing function that lead to missing lines.