Fixes highlighing issue with textual PDF