Preload the background images.