Fixed a bug where the terrain was not rendered.