vertex attrib bug fixed