Fix partly pressed shortcuts.