Fixed bug with the shortcut window