fix bug: delete animations while deleting node