Fixed bug in transparent drawing of widgets.