Fix bunch of issues:

- Modifier keys flag was not cleared propertly (kb shortcuts were not working anymore after alt-tab etc); now it's cleared on visibility changes and focus loss.
- Changed expanded mode to automatically hide the context.
- Fixed window resize flickering (for every resize event the expaded flag was toggled).
- Disabled context hiding in presenter view.