Correctly offsets into the text