The porn viewing mixed with the wounded heart could be related to this problem...... they could be scrambled together in your mind and the mind is dealing with it the only way it can right now - to attach / connect to one of the sexual images that once gave you pleasure but did not break your heart.
... trust me this can happen for I have been there done that.