Fix crash when moving panels (#52366)

Fixes a crash introduced by removing some defensive code in
https://github.com/zed-industries/zed/pull/52276

Release Notes:

- N/A

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
954409d3a2Max Brunsfeld committed on 3/25/2026, 12:03:06 AM· committed by GitHubparentfc66e4e
1 file changedLine totals unavailable