UPD: Changed from isRightMouseButton() to isPopupTrigger(). You're welcome, all you lefties out there!