ConvertTo2D now works with bad polygons too