Fixed wrong size of RibbonWindow when window is maximized