A fix for camera not working

So I have recently built a fully working Samsung Galaxy S5 out of two broken ones. However, one problem still exists. Camera does not work properly. I have found a temporary solution to fix the camera issue by tapping and pressing the camera.

Also I've got some screws too lose. Is there anything else I need to do besides fastening the screws thighter? Will it fix the issue?

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

crwdns2934109:0crwdne2934109:0

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