Made image preloading aware of retina settings.