[CB-4521] Fix geolocation not working after a page change.