Properly pass document position through CustomNodeView constructor
Properly pass document position through CustomNodeView constructor

FIX: Fix issue where a node view's `getPos` callback could sometimes
return `NaN`.

Issue prosemirror/prosemirror#879

ProseMirror/prosemirror-view