fixed tiling issues with terrain tiles