fix: Improve cwidget initComponent()