Performance improvements while rendering