Some sites do this using CSS, for reasons I have never completely understood. It's very annoying. In these cases, it's not a bug; it's the way the site is written.
That said, though, I've never heard of Google doing this. Usually they're much better about things like that.