Disable default behavior when a shortcut key is used