Fixed a bug in the TUNDRA renderer