[Debugger] Don't collapse nodes in the ExceptionCaughtDialog when the user resizes it

Fixes bug #10496