handle fullscreen attribute properly when window has not been created