Fixed bug of Widget's setting color and opacity