Added min height when minifying a window

Now, when minimizing we limit it to always show the window header.
This fixes the problem of not being able to move windows when minified.