I use minimal template and style my canvas like this
<canvas class="emscripten" id="canvas" oncontextmenu="event.preventDefault()" height="400px" width="600px"></canvas>
canvas {
display: block;
width: 90%;
max-width: 1200px;
min-height: 400px;
margin: auto;
height: auto;
}
When the player load it automatically resize my canvas, and if I resize the browser window it resize to some really weird size. How can I prevent this? It seem to only happen in 5.5