Scene graph optimizations