#80 minor fixes on sprite factory