Fix battle setup race.