On the Android version, postpone actions on the map when it is not visible (to avoid crashes).