Fixing the selection handling to allow one char selection.