pothos-gui: replace mouse handler with contextMenuEvent