Added rendering setup to Canvas.