Better right-click behaviour, context menu on mouse-up instead of down, fixes #151

Fixes #151