Force use MODES.VERTICES if MODES.RESHAPE is set.

OL compatibility.
Merge branch 'gh-pages' into modify-multi-layer