(1) Correctly handle patient position for multiframe images. (2) Took care of numerical noise in populating x/yOffset fields.