Fixes to PreviewRenderer.