How to keep CB magnet mount from scratchin paint?

How about tool box drawer liner material? It's a closed cell foam. Also thin.
Shouldn't effect the magnet to much.

Wouldn't it get stuck to the paint if it is hot outside?