Fixing mesh format.

Drawing problem was due to the offset not being in bytes.