Fixed a face generation bug in TorusFactory