fix window cycling between plots and main window via shortcut key