Ignore the click detection if the mapView is null