check that get_current_screen() isn't null before using as object. #2419

3.0 for 53b3947