fix inability to click titlebar buttons on windows
Merge pull request #122 from ishmayeck/master

fix inability to click titlebar buttons on windows