Reset modifiers to unset state when regaining focus. When keyboard modifiers are used to change workspaces (e.g. Ctrl+Alt+Arrow),
we don't want them to have any effect on the app when we return. Issue #1010.