Which is now run inside an animation frame. This avoid a 1 frame black screen when setting up the canvas.