Change to load image before drawing.