Terrain render order fix