Change the way the parent span is accessed when recomputing the math width