Preview bug fix.