fix for cases where mouseup is not sent
Merge pull request #29 from azakus/master

Work around for missing ups