Fix mismatched calls (react internal).