Bent RD cage is probably the culprit.
The alignment of the cage determines the feed of the chain to the cog.
Bad alignment = bad angle, hence chain mis-feed.
New RD is an easy fix and everybody's favorite upgrade.
__________________
Today, I believe my jurisdiction ends here...