bug fix in attack animations