He was offside and touched the keeper.
If he touched the keeper then that's interfering with play. End of discussion.
Having seen it a couple of times, he is just in an offside position, so the right call.
Hopefully that made some sort of sense.
They gave a free kick, not offside.