Fix selection tool to handle the modifiers correctly
On FocusIn we emulate all the key presses that came while Krita was out of focus. Though we forgot to emulate QEvent::KeyPress, which is necessary for the selection tools to parse their own modifiers.