Fixed a bug about raw mesh conversion.