Camera lens hood on DMC-ZS40

One of my DMC-ZS40's has a lens hood that does not retract. It came off ( I droped the camera) I have snaped it back into place buy it is loose. What am I missing? I see the three pins sticking out and what they fit it into. They snap back into place but dont lock into position.

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

crwdns2934109:0crwdne2934109:0

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