fix outline bug
Merge pull request #7254 from dabingnn/v3_fix

fix outline bug