animation engine bugfix