Huge speed boost and preserve <br />.

Caching the nodes' styles did the trick.