import { MaxesState } from "./state/MaxesState";

export class Game extends Phaser.Game {
    constructor() {
        super("100", "100", Phaser.CANVAS);

        this.preserveDrawingBuffer = true;

        this.state.add("maxes", MaxesState);

        this.state.start("maxes");
    }
}

import {MaxesState} from "./state/MaxesState";

export class Game extends Phaser.Game {
    constructor() {
        super("100", "100", Phaser.AUTO);

        this.state.add("maxes", MaxesState);

        this.state.start("maxes");
    }
}

--- 
+++ 
@@ -1,8 +1,10 @@
-import {MaxesState} from "./state/MaxesState";
+import { MaxesState } from "./state/MaxesState";
 
 export class Game extends Phaser.Game {
     constructor() {
-        super("100", "100", Phaser.AUTO);
+        super("100", "100", Phaser.CANVAS);
+
+        this.preserveDrawingBuffer = true;
 
         this.state.add("maxes", MaxesState);
 
Add workaround for flickering issue on Mali-400 GPUs.
