Stop propagation on keydown events handled as shortcuts.