Handle right-click menu on MacOS X