This happens to me a lot: when i have to run halfway across the map i click somewhere on the minimap. While walking i often start buying items, command the courier, type, etc... To then notice your hero is taking a route you did not intend him to take, due to pathing.
Would it be possible to draw a line on your minimap showing the pathing your hero is going to follow? (Yes i know, it's getting old but they did this in Hon. But it was actually a very nice thing to have). This would allow you to correct your mistakes instead of noticing that all of a sudden, your hero is running under an enemy tower or randomly through the river.