improved CSS optimize transform to allow for query params in URLs mentioned in CSS; thanks pruzand; fixes #16834; !strict