I use Stone Creations and spray directly on the underside of the glass. Any air trapped between the cork and the tank will reflect. Since yours is rimless, I imagine some paint will stick to any foam it comes in contact with if you move the tank in the future...
Brian