Position of minimize/maximimize/close is wrong

Fix whitespace between hidden buttons and next visible button.

How to reproduce:
1) Create a new form
2) Hide maximize
3) Press f5
4) Whitespace between Minimize/Close button