Add support for rounded corner masking.