Correct map rendering errors