Pen won't stay inside its case

I recently repaired my lg stylo 6 screen and the pen when I put it into its area won't click in place. Any advice for how to fix this issue?

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

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:02crwdne2944067:0:

Have you double checked that the mechanism for the pen inside the phone isn't damaged?

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

I can't tell what the mechanism is or how to fix it. Is it a spring of some type? It likely is damaged.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0