Merge pull request #6844 from Dhilan007/v3-labelfix

closed issue#5252:Label:It could be possible that for using outline cause crash.
[ci skip]
close issue#5277:Label:It could be possible that for using outline and invoking 'Director::setContentScaleFactor' cause label show nothing.
Merge pull request #6856 from Dhilan007/v3_labelfix

close issue#5277:Label:It could be possible that for using outline and invoking 'Director::setContentScaleFactor' cause label show nothing.