Fix a bug with a keyboard shortcut