Wip/terraingenerator

Fixed a few issues like:
* One issue
* Another one