Fixes undefined sub error in Vector3.