Prevent the window from having zero size on load if closed while minimised