Allow for restoring window size when window is maximized and the title bar is hidden.