The rules have made this issue very confusing, but having had this explained to me by a football league referee this morning as follows.......
Gallas is not active when Huddlestone shoots (even though he is stood in an offside position beyond the last defender)..... he is still inactive when the ball deflects off Baird (watch closely)..... this deflection nullifies any active or non active situation.......
The reason the linesman flagged was that he had not seen the deflection (nor could he have from his angle) off of Baird....... the linesman was right to flag from what he saw... the referee was right to overrule him because he had seen something the linesman did not... one of the very few times I have seen officials working together.....
Anyway, Mark Hughes must be sick of the sight of Spurs..... Hughes has only lost 2 of his last 20 PL as a manager.... yep you guessed it.... both to Spurs....