fixed AABB ray intersection test to be optimized by Chrome