disabling vertex attribs that are not in use
fixing bug with vertex attribs