Improved image preloading