Fix attack animation infinite loop in most monsters.