After camera replacement, new camera only holds one plane of focus.

I just replaced the camera on my iPhone SE 2020, because the lens on the previous one got scratched when I repaired the glass camera cover. The camera is working better than the last one visually, but only holds one plane of focus and won't autofocus!

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0