Added support for zooming in on the canvas.