Officiating can be sloppy in the World Cup, I think this video shows it.
http://www.youtube.com/watch?v=ZPd8YmFcvtQ
8:30 minutes in, on or offsides? I’d have to say evidently onsides.