Fixes parent relationship for cloned passes and techniques 

traversing the render states produced unintended results as the parent relationship of the original object was followed.