What's his running style? I have a theory on how this happens, and I've posted it a few times, but I don't know how to fix it.
Basically, it appears that the "avoid sideline" effect is created by adding a vector to run away from the sideline when you're within X feet of the sideline. This is why you sometimes see the zig-zags down the sideline instead of a smooth line - the HB runs away from a defender, then gets close to the line and far from the defender and bounces back in, then is far enough away from the sideline that he ignores it but sees the defender again and bounces out, and so on back and forth.
So, in these cases, I suspect the running style is set heavily towards Power (although the faster you are, the more towards Elusive you could be and see this). This causes you to be updating pathing only every several ticks - maybe as long as 5 or 8 or so, I don't know the number. So at some point, you have a pathing update, and you're, say, X+1 feet away from the sideline, so your pathing says "ignore the sideline, you're too far away to worry about it" and you end up running fairly sideways to avoid some D players. Then, because you're traveling so fast, by the time you have a new pathing update, you're very, very close to the sideline. All of a sudden you try to cut inside, but your low agility can't handle it. Thus, you right right straight out of bounds.
Vision isn't a factor, unless it impacts the distance at which you worry about the sideline.
What can help as a player is to run more Elusive, and have better agility. Also, however, the sideline logic could be improved to be based on not just distance, but distance, speed, projected impact time to the sideline, that sort of thing.
I think optimally the pathing should just check "will i be out of bounds before my next path check; if so, adjust my route back in bounds (except for whatever conditions cause a runner to want to just run out of bounds to avoid contact)" but that's actually a pain to do. I'd settle for a more fluid vector to avoid the zigzag and these boundary scenarios where you just bolt out of bounds.