Added support for custom blits of widgets.