Fixed bug in image pigment.