Performance increase in renderGlobal