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