Fix typo that prevents erasing the canvas