Adds support for recursively set visibility to objects even if they are
parented to something other than a group.