Fixed an error with missing image previews (using the temp folder of the operating system)