Fixed bug with drawing concave polygons