I know the cause of that bug. It's because you didn't finish Wercheg.
But seriously, it can probably see some enemies floating around you or something. If it's really you causing the fleeing, you could just try and 'steer' them towards where they are supposed to go by standing behind them, and catching up with them once you reach they they are supposed to be goiing.