Separate drawVertices()/drawPolygon() functions.

Fix vertex drawing index errors.