Adjusted the canvas size.