Check if collapsible before hiding.