Fix quarter size windows

Height and width now use the visibleRect which takes into account the menu bar and dock