Fixing bug with scene loading