change method didPrepareSnapshotForSprite: to didPrepareSnapshot: