Fix of pdf not loading on android (issue 5427)

Fix for pdf on android not visible

Fix for pdf on android not visible