Add a more robust fallback renderer for references.

Our incremental version does not seem to work for unregistered references.
A much slower but more robust batch implementation is used as fallback.