former Premier League match official Dermot Gallagher says the correct decision was made.
He told Sky Sports: "The first penalty is very interesting. [Harry] Kane is in an offside position and [Dejan] Lovren has the chance to clear the ball and takes a chance.
"He has an ample opportunity to clear it. He doesn't clear it and he's clearly hit the ball. The ball comes through to Kane who is now not offside, as the law states.
"I thought it was excellent because you can quite clearly hear Eddie Smart say to Jon Moss, "I don't know if he's played the ball.
"It might have taken a bit of time but at the end they came to the right decision and both officials should be applauded. Lovren miskicks the ball so Kane is therefore onside.
After Salah's brilliant second solo goal, Lamela went down inside the box following a challenge on him by Van Dijk - and Gallagher explained the process of the officials coming to the right call.
"It's very difficult because the penalty area is so crowded that [Moss] has to look across on the diagonally," the former official added.
"There's no doubt there's a foul and it's another example of great teamwork between the two [Moss and Smart]. It underpins the strength of their game.
"In the debrief after the game, they'll be told that they made the big, match-changing decisions correct on the day."