fix: undefined variable `index` in generate-grid-positions()
Merge remote-tracking branch 'origin/master'