Fixing centering of canvas.