added a null check on the bounding box of the geometry 

LineGeometry doesn't have any so it breaks the PickingController and raycasting