[Bug 50539] SetWindowRgn doesn't work correctly