Fix css rewrite problems in prod