Looks like a too large ray offset epsilon to me, which makes rays escape the scene and hit the background. First, make sure that the triangles at the corner share the same vertices. Then try enlarging the two walls on the corner slightly so that they intersect each other. This should fix the problem.