Geolocation fix for ios