Fixed an issue with focusing the map on the search page.