Fixes Bug in GeolocationDemo