[Bug 40701] COCO simulator: Aborting of painting upon concurrent WM_PAINT messages