Fix loading issues on the map page.