Fix for tabbed widget