Fix _testCaptureImage and multiple display windows

…and now it’s time to go home!

[1660]