Houdini SceneCache ROP Re-rooting patch

There was a bug in the re-rooting code when caching more than one frame.