ZoomProfile : fix shape conditions (where shape[1] = x and shape[0] = y)