Fix switching scenes