Fixed typo in guiEnabled which means window Rect is still protected even when window is closed