Fixed a bug due to Xorg not generating ButtonRelease events when no corresponding ButtonPress was generated.
That, and also a typo.