Fixed bug in Lit widget.