Fixed PDF render issue.
Removed some errant code.