Fixed webkit contents selection

Selecting and de-selecting multiple times would mess up the select
contents behaviour (due to the no-width spaces getting appended multiple
times).