Fixes issue #858: Tabs::widget type problem