Fixed issue with PDF Rendering