Fixed some bugs related to enemy attack animations