Fixes a bug in UITouchHandler where buttons always were pressed on release even if touch moved away from button