It looks like it is rapidly changing between two scenes. What does the code look like? Also, maybe it is the input is getting called on both scenes, and that just so happens to make it switch quickly. If that is the case, then I would look into adding a small delay after transitioning so the same input cannot be (easily) used in both scenes.