See test case at: http://timothy.hatcher.name/Test.html
The error image on the left (orange background) is a PDF. The one of the right (green background) is a PNG. Scroll down and they should both scroll with their background.
Also stop with the image partially scrolled off the bottom with overlay scrollbars, once the scroll bar disappears the PDF image is clipped more.