Fixed another small bug in the imaging code.