Improve painting technique.

Don't copy the pixmap every time a tile is rendered.