Fixed X-axis scroll offset inversion (take two).

Fixed #239 (properly).