fix precision problem in calculate world position and rotation