If you need to draw vertical lines on the pitch to know if there’s an offside or not then benefit of the doubt should go to the attacking side, simple.
The people controlling VAR should do a 'naked eye test' first - if they think it definitely is off, then draw the line to confirm it. If they aren't sure, go back to the game.
Would make the system 10x more effective.