Fixed image extraction for css rules not followed by ';'

@jmonster, @jormungandrmml