Rearrange image preloading.