fixed MESA bug with amazing hack that rebinds all attributes to indices 1,2,3 etc