Bug 1069597 - Make overlay and dialog views exclusively visible.

I'm not very convinced about this solution. There is no way of calculating this `obstructed` parameter automatically? Though, the name is a little bit obscure. What about `covered` or `covered`. May be we can align the class name with the parameter name.