fixed issue where geometries with multiple polygons where rendered incorrectly