also add an InvalidateRect call before the BeginPaint in WM_PAINT