add recycleSprite method to SpriteFactory