Fix downsampling in y direction