Ensure the scene passed to PhaserScene is an instance of Phaser.Scene before deciding whether to instantiate it.