If a scene is undefined while switching to the scene, an error will be thrown
Updated dist JS