resetVisibilityHintOnTreeDetach