Different types of material expand and contract at different rates when they are heated and cooled. Something flexible like window or bath tub silicone might work because it stays flexible. I don't know how well the silicone will hold up in the heat of the sun.