Fix #663 Selecting a desktop region does not always work