Add a check for Framer.Session before retroactively patching scroll layers.