Impossible. I was bugged by this all the time. Now I have to compromise by using the stop command as attack move.
I used to report the same issue with patrol:
The behavior looks like this: