Fix race condition in pre-keypress selection update
Fix race condition in pre-keypress selection update

FIX: Fixes an issue where, on Firefox, depending on a race condition,
the skipping over insignificant DOM nodes done at keypress was
canceled again before the keypress took effect.

Issue prosemirror/prosemirror#688

ProseMirror/prosemirror-view