replace deprecated method isRelativeAnchorPoint into ignoreAnchorPointForPosition