Fix #663 Selecting a desktop record region does not always work