Now correctly setting canvas width and height.