fixed a behaviorlib crash when MidItems is empty by moving some of the starting items to mid items