Added min and max zoom on canvas.