Fix for vertex attribs.