Automatically scroll offsets when computing Ranges.fromPosition()