fix terrain collisions