Fix a bug with CSS url() replacement

This fixes a bug where only the first occurence of a given url() reference was being replaced when preprocessing style sheet text.