Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.