Fixed an error with missing image previews