RE: Any ideas on how to get a Ruger 10/22 to stop doing this?
10/22 uses both the claw on the bolt and a rail on the magazine to extract and then eject. On aftermarket magazines that do not have steel inserts for the lips this is a common occurance. With enough rounds a steel lipped magazine may wear enough to do this also.
Plus.. a good disassemble and clean is probably in order...
Dry fire this gun much? Check the barrel's breech face for a firing pin indentation...