Fix bugs to make renderer functional tests running

No match.