Takes SMask's preblending in account
Merge pull request #3439 from yurydelendik/smask-preblend

Takes SMask's preblending in account