added fullscreen detection

Why stage is not mandatory?