Fix off-by-one in root frame.