Make drawing the image slightly faster.
But it's not fast enough yet. Also using QImage everywhere now, it's a bit more sensible...
Ref T2438