Added intersection of cubes with mouse click ray.