AI movement bug