Fixed issue with leaflet polygons