Fixed Document Viewing

Issue #148