ray-picking fix