Fixes BufferUnderflowException detailed here: https://github.com/jblough/Android-Pdf-Viewer-Library/issues/10