This allows hiding nodes of invisible widgets. And that in turn makes sure :nth-child() works as expected.