fix precision problem with glTranslate