Fixed a bug in image button widget event handling.

Horizontal mouse position relative to the widget was being calculated
incorrectly.