Fix PDF partial view rendering.