20250525 updateFixed a potential black screen issue caused by not sending the WM_PAINT message to the window during drawing.