Is the proximity sensor meant to be loose on a Z5 premium?

I am replacing the LCD screen on a Sony Z5 premium but the proximity sensor isnt connected to the board and has fallen out. How is it meant to be fitted?

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

crwdns2934109:0crwdne2934109:0

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