Fixed a small ordering bug with scene-graphing.