Restored support for button / input rendering using widgets.