Added the ability to draw on the canvas element