Fix bilinear upsampling