Fix the bug in TMesh::RenderHW()