Use gesture detector rather than mouse shims in the ImageEditor