Fix for preview render.