Fix 'render :widget' support to properly support all tested use cases.