Full-screen issues fixed by fixing script load order