Fixes drawImage for thumbs

Fixes #4921

And don't think we need to worry fixing #2888 as well, thumb nails just to quickly locate the page and not read it.