Fixed compatibility with latest pixi.js release