revert change to override WM_NCPAINT