Setting up canvas.