fix bug in tags not tagging full word if mouse click