Cleaning the canvas when replacing an item.