Having considered the VAR I think they may have called it right. He's not out of play, he is poised to attack the ball. They usually call these as offside. Mind you I wasn't thinking that until we scored!