I create pixi game. when i change tab it normal. but when i minimize browser. it has "webgl has hit a snag". and my canvas fail. console log has: "webgl: context_lost_webgl: losecontext: context lost". How to fixed it. Thanks

i've just tried pixi 4.5.3. it didn't work. i say "Cannot read property 'update' of undefined", but when i use pixi 3.0.8, it works. I use file pixi-timer.js in plugin. I use many timer in game. ticker can replace for setTimeout??

thank for your help. How smothie slot game. When i open 4 tab of game and spin. It lag and not smooth. how do maximum performance and fps smooth?? i usually create prototype and after one sence i destroy all container. have any good idea to manage memory, my game init about 120mb after many spin slots, memory up to 1gb or greater than that. thanks. Sorry for my bad english

I created a slot game. But in some browser does'n't support webgl. It auto render canvas. But when i used mask. It doesn't work correct??? it wrong position. I use console of browser to change position of mask, but not effect????
mask position set not effect on canvasrenderer mode.? how to anchor graphics mask? when resize the game. the mask is not resize?
My code:
this.game = new PIXI.Application(800, 450, { antialias: true, transparent: true, resolution: 1 });
$("#game-container").append(this.game.view);
this.mainGroup = new Container();
this.effectGroup = new Container();
this.game.stage.addChild(this.mainGroup, this.effectGroup);
//create group
this.containerColumn1 = new Container();
this.containerColumn2 = new Container();
this.containerColumn3 = new Container();
this.containerColumn4 = new Container();
this.containerColumn5 = new Container();
this.mainGroup.addChild(this.containerColumn1);
this.mainGroup.addChild(this.containerColumn2);
this.mainGroup.addChild(this.containerColumn3);
this.mainGroup.addChild(this.containerColumn4);
this.mainGroup.addChild(this.containerColumn5);
this.mask = new Graphics();
this.mask.drawRect(0, 0, 606, 330);
this.mask.position.set(97, 43);
this.mainGroup.mask = this.mask;
how to anchor mask when resize game??