Modify logic to load MainPlayer layer by GameScene.