set visible of box without setting visible of box contents

It seems like if you set a box to be visible, all items inside it become visible. Which is stupid. Is there any workaround to this?

thanks