Added e.preventDefault to configured keyboard inputs.