fixed a ray/bounds intersection bug