rendering perf fixes for bug 760876