Bugfix to heightmap