metamer: collapsiblePanel: changed render test to check visibility