Fixed selection bug, it had to do with word breaks.