Remove preventDefault call and add user-select css properties none to prevent highlighting.

Fixes #2245.