I checked my copy of Jone, and all he does is to note that there is such a thing as “compulsive memory images”. They have no moral aspect whatsoever.
Again, the person who has these, and is troubled by them, is in need of medical attention, much more than spiritual help. That is what mental health care professionals are for. I would hasten to add that even people with no medical issues in this regard can have them. It’s not uncommon. Just part of the human condition. Sin must always involve an act of the will. Involuntary phenomena cannot be sinful.