DEV-56730 - Selection of text broken when it overlaps textbox