Universally toggling hidden on a layout change causes side-effects.

Slicer exhibits issues with its displayed field of view which appears to
be linked to the toggling of hidden during a layout change.  Removing this
code appears to fix the issue for Slicer.