Fixed bug uploading image with Image widget.