CSS: Avoid chained compilation on open (#916)

Fixes #916.