Fix implicit conversion issue of dtvec3.