upgraded version of phaser to address collide with tilesprite bug