Bug fix. Wrong part of image drawn.