Fix ::selection bug

No issue

Fixes a weird issue where text would overlap other text.