Null check in ScreenManager