fix unintentional selection behavior

Only tested a bit on Nightly & Chrome Canary, but seems to work.