Fixed an issue in the MapViewController.