Ambient Occlusion lead to black line around Screenshot

When I use the panorama to take a screenshot, Ambient Occlusion causes black lines around the single image, which results in a clear boundary between the final image.

Here are two comparison pictures, one for closing the Ambient Occlusion and one for opening.
What can I do to remove the Dividing line around the image?
I use scenecapture to shot single picture.

Ambient Occlusion is a scree-space technique, so that is expected. Your best bet would be disabling SSAO.