UI: Set proper minimum size for the window