bugfix in phaser library