Allow Transparency for Documents

PDF documents currently show a black border if they are not sized exactly and allowing transparency doesn't work