i am using auto retreat a lot, and in almost every match i have some units not following the retreat order properly and instead walking randomly into their death, which is kinda annoying.
i think what is happening here is some sort of "race condition" where the unit receives a move command right after the widget sends the retreat order, but before it unselects the units.
if i am correct, the fix for this could be as simple as making it unselect the unit first and then sending the move to retreat order.