NG-14608:[Nate/Ravish] Fixed offset calculation for zoom overlay.It was not being calculated correctly for inline math