fix ray picking to work with registation points