Reset the undo when instances/tiles are deleted.