Fix empty nodes crash (#38259)

The crash occured because we raced against the platform windowing
backend to render a frame, and if we lost the race there would be no
frame on a window that we return, which breaks most of gpui

Release Notes:

- N/A
d48d6a7454localcc committed on 9/17/2025, 9:26:53 AM· committed by GitHubparenta2de918
1 file changedLine totals unavailable