Fixed the vertical alignment of the WindowsCommands

If the maximize, minimize and close buttons were hidden, the vertical
alignment of the WindowCommands was not centered
Merge pull request #463 from flagbug/windowcommands-fix

Fixed the vertical alignment of the WindowsCommands