Fix ray-cube