Draw background in WM_PAINT instead of WM_ERASEBKGND.