Fix text not being highlight-able in exam papers and documents
The PDF text elements already existed in the DOM but were broken. Specifically, they were not absolutely positioned.
This MR fixes that issue, and also fixes a slight offset between the rendered text and the DOM text elements that occurs due to browser styles.