fix detection of Cmd+Click on Cocoa (for SyncTex)