bounds check with setVertex(PVector) (fixes #2556)