added SpriteFactory argument for tileToFlxSprite() - issue #1303