Hello and welcome to the forum
Waldus
I assume that you play with the free mobile version? This is most likely a bug, and of course there's no "pay to remove the bugs" logic behind. Does it happen in the same situation every time?
It's possibly a bug related to the navigation, you can eventually try to turn it off once you're on the trajectory you wish (click on your target and select "End navigation").
Don't hesitate to tell us if the bug persists, eventually send us as many informations as possible so that we can investigate.