Prevent interpreting as a hotkey prefix when modifiers pressed.

Currently, a key with modifiers can be interpreted as a hotkey prefix though hotkey description does not include modifiers. For example, if there is a hotkey description 'a a' , shift+a is also considered as a hotkey prefix. This pull request prevents interpreting as a hotkey prefix when modifiers pressed.