SPMaskFilter improvements.