init cleaning of the canvas is not added to the undo stack