[Bug 57839] Black rects appear briefly during window drawing