Fixed a bug in the image button widget.