highlights don’t show the buildup to the first goal so can’t comment on that but for the second it’s the same thing you see a lot: when close, the law tells you to call it for the attacking player. In practice, linesmen almost always call it for the defender. If he says he had no doubt about it, he really shouldn’t be officiating on this level. This is one of several aspects of the offside law about which FIFA needs to be more clear. (I’d also like them to say something about shirt-pulling but that’s another story.)