Rashford was "onside" in that he didn't touch the ball.
However running along the path of the ball for as long as he did was interfering with play and put the City defenders into two minds as to who to block etc.
Without doubt offside should have been given, goal should never have stood.
Was it "Shanks" that said "if he's not interfering with play, what's he doing on the pitch ?"