Respect geometry stride in modify interaction

Having a use case with `stride=3`, it used to work in build mode, but break on a assert in debug mode.