fixed the animation issue when vel.x and y == 0
enemy death animation