Fix sizing of image for variable-resolution mesh.