crop the canvas