Fix:Replace the “setDisplayFrame” function with the "setSpriteFrame" function