Fixed deserialization bug in mesh and tested de/serialization.