Fix the error thrown when adding caption to non-captioned widget.