Gsap in Next project

I have a NextJS project in which I use Gsap and my problem is that the sizes I used in each component are all wrong when the project is started, but when I open and close Inspect or F12, all sizes are correct. It will be fixed

I also tried pin and pin spacing in gsap