If the curved walls are appearing only (or mostly) on the edges of the image, can't we just hide it by making the actual image bigger than the window ? In this way the part where the problem is most visible will be out of view. Of course it's "dirt under the carpet" kind of solution...