Fixed terrain size glitch

I fixed a glitch causing terrain to be generated in the wrong size due
to the position not being used as part of the for loops total value.