[[ Bug 12451 ]] Use a local event monitor to capture mouse down events whilst popup window is onscreen.
Merge branch 'bugfix-12451' into develop