Units path backwards when tasked to attack

Happened again in build 127161, with attack move. Units went backwards first, then moved and attacked forward (where commanded). Also happened while normally moving in groups, not just attacking.