fixes for leaflet geo-location