fix bug of enemy animation