I thought the same thing. Offside, so no advantage, so free kick. Not sure why it wasn't given. Although when something similar happens and the team with the advantage gets a shot off quickly after the event and misses, they usually don't go back for the free kick either, kind of like you had...