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.
2 is used for a reason to avoid loosing any pixel information, which is important for text or thin lines.