More elegant fix for loading the same thumbnail twice.