Prevent nullpointerexception for NullScreen