bugfix DocumentViewer
Merge pull request #252 from matijse/master

bugfix DocumentViewer