Fixed auto-pair delay, and caret moving in the wrong direction