Update content visibility after layout.