Fix selection on hex values (whitespace at end of selection)