Wip/terraingenerator

Fixed a few issues like:
* One issue
* Another one
Agreed. Will fix.