Units run away just like that

It is very annoying when units during the battle start to run away just like that in different directions, and in the meantime they are attacked while they are looking for a new position to become.

Please post video about it