This looks the same pointing to the centre offside and pointing for a goal kick.
Flag must have been up for a very short time (I didn't see it) if it was offside as I looked for it and nearly level, but obscured by the melee of players for a second or two.
I don't think Hemed was offside. Someone else was. but not interfering with play? When I looked at the linesman, the flag was down.
I bet if it was Barnes he would hit the post.