fixed stack overflows
maybe fixed lag during animation events