Keep detector visibility set in tree tab in pick and mask tabs.

Switching to render tab restores visibility of all detectors. Re #6627.
Merge branch 'feature/6627_bug_in_tree_pick' into develop