Crash when cross referencing two textures as composite texture

Steps to Reproduce
Steps to reproduce: create 2 textures in the editor, A and B. Set texture B as the composite texture of texture A, set one of the composition modes that is not disabled. Do the same for texture B setting texture A as composite texture. It should crash and the call stack is a long list of calls to PostEditChange and friends.