Small reorganization in DrawSprite