fix DrawElements bug onto math bugs