With regards to "I did a swap out with another camera and P3P and put every combination together and the results were still the same.", do you mean you took, in its entirety, the top board, its housing and the pivot-shaft/spindle/motor from a 'good' drone and fitted them, in their entirety, to your faultly camera/drone and that this did not cure the problem?
I doubt that the actual housing has any effect but a working top board and pivot-shaft/spindle/motor should, I would have thought, fixed the problem if indeed the problem is a mismatched sensor ring and top board.
I had a 'dead camera' (caused by a faulty top board) and performing the above swap fixed the problem, camera alignment was maintained.
If such a swap DID NOT fix the problem and if you still have the other drone to hand could I suggest fitting the entire camera assembly from the good drone to your faulty drone and then checking to see if the problem still exists.