Terrain bug-hunting update.
Fixed the terrain bug, it really was that simple.
Improved terrain rendering quality.