Handle double and triple click with command key held down

Fixes #2812