windows: Ignore key/mouse input while menu focused.

This prevents arrow and shortcut keys from being considered inputs to the
game or UI.
Merge pull request #5160 from unknownbrackets/ui-tweaks

windows: Ignore key/mouse input while menu focused