fix johans merge conflict. Delete invalid animation events.