Well, a few folk have suggested using expanded foam for fixing windows in place, but it doesn't seem quite right
formatting link
HomeOwnersHub website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.