perf: Cache camera render closures instead of allocating per frame (#3979)