Fixed a bug if you navigated quickly away from the maps form