fix missing location setting in setAttributeBuffer