Fix mat4 and intersect.