This reverts commit aa180864. need to move this check into the view manager, the window size/.. need to be restored