Inline mesh upload calculates correct pointer offsets