Fixed unit ai overlapping issue