Fix vec3 allocation