Fix: mouse click produces MiddleButton event instead of RightButton