Properly handle flipping sampled pixel offset values.