Fix for the map not loading issue.