Tabbedinterface: fixed check for hidden child tab panels

Fixes the page jump issue of #2649 when nested tabs are clicked.