Revert "Fixes child objects not being hidden when a parent object is not visible"

This reverts commit eee16efdd4e6f8530c630fd83f8f0bef496e06d1.