issue #937 if no image, right edge of grid is mis-calculated