First of all Kim, thanks a lot for posting that.
Whenever I drill and tap something I like to have as much thread / bolt length as possible, so I like your fix. I positively detest short thread length engagements because they so often strip.
Just looking at the picture the bolt looks big enough to drill and glue in one of those super strong neodymium magnets.
Just need to make sure it's physically strong so it won't easily break off, and the gluing job needs to be solid.
If you ever need to use a thread insert, try and stay away from those Helicoils, and if you can use a solid thread insert. The only issue is you need more diameter of "meat" available due to the thickness of the solid insert.
I always like to install thread inserts with high strength Loctite or equivalent (wipe the inside of the insert clean LOL). It not only makes the insert job stronger but the thread lock compound also works as a sealer to prevent corrosion. Lost count of the amount of times I've pulled Helicoils out of aluminium housings because of the white corrosion, and the Helicoil becoming loose.