Fixed bug where mapOverlay is nil