Generally this is related to water damage. Replacing the camera might work, but more often when I see this finding corrosion on the board and cleaning it is what solves the issue.
open