ShoeGoo, or any other solvent-based adhesive, might mess with the paint (depending on the solvent, and its strength), in case that might bother you. Silicone sealant or acrylic bathtub caulk might be less likely to do that, though silicone that's not "neutral cure" type will off-gas acetic acid; don't know what that might do to paint.