API: Fixed transform-origin in debugRay()