Fix #653 Dialog not hidden on desktop region selection
Fix #663 Selecting a desktop record region does not always work