Fix edge cases when calling `refresh_windows`

This commit ensures that new views are rendered for the first time. This fixes
a panic that could be reproduced by dropping the `ThemeSelector` and opening
the file finder during the same update.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
b0afb64a6eAntonio Scandurra committed on 3/16/2022, 1:51:54 PMparent17742a9
2 files changedLine totals unavailable