fixed the ray picking