This fixes a bug where the context menu would open when dragging with the secondary mouse button. Now the context menu requires a click to open. This is important for things like plots, where right-click and right-drag means different things.