Added support for background images.