Fixed potential segmentation fault in ScreenManager::pare