Follow up to #20374, this prevents a race condition where we could load images twice. Release Notes: - N/A
Closes #11529 Release Notes: - Fixed an issue where the image preview would not update when the underlying file changed --------- Co-authored-by: Bennet <bennet@zed.dev>