Fixed replacing files removing the window shade.
Fixed replacing files not showing the new image thumbnail.