Fixed bug in TabbedPanelGroup