It wasn't offside because does none of these:
Was it a foul? Maybe? It'd have been really harsh if it was given though. Laporte moves to the side to play the offside trap and gets himself tripped. Dembele does absolutely nothing wrong there, he just kept running, didn't change direction or...