If a TabPanelItem contains a Layout container, then the Layout container should not have a top border because it separates it from the tab like an inactive tab. This fixes it:

/* When a layout panel is a direct child of a tab body, don't use a top border. */
.yui-ext-tabitembody > .ylayout-panel {
	border-top:0px none!important