Now using offset at xmin,ymin instead of relative offsets between image and subImagecenters (doh)