Fixing up an image rendering issue as described in https://github.com/jblough/Android-Pdf-Viewer-Library/issues/14#issuecomment-16795791