libtorc-baseui: Make UIWidget::SetAsTemplate recursive