make sure polyline, polygon, and line have 2 points init'd to 0