Allow window minization in OSX
Merge remote-tracking branch 'chiiph/bug/allow_minimize_osx' into develop