disabling cursor selection