Fixes: [35652] Send WM_PAINT event during dialog creation
