Added support for pre-existing CSS backgrounds