Debugger: Fix #10781.

- Don't attempt to calculate a selection region if we don't currently have a
valid target block. Should fix remaining part of #10781.