Fixed bug with partial polygons