Temp fix to map shift during pane switch.