emergency fix for beginrenderlink causing problems during caching.