a lot of chages for pixi.js migration. Now working