Fixed geolocation bug