Fix map interactions when in gallery view.