Implemented click-and-drag erasing