Fixes AttackMove moving even if an enemy is within range.