Fixing a issue with caching that made it so images were never picked up if they were cached (this might consequently break linux