For some reason, the in-page section linking malfunctions the first time that the link is clicked by not scrolling down to where the DIV id is specified, stopping short of the appropriate section. Interestingly, when this process is repeated and the link clicked a second time, then the page scrolls to where it should.
Check your images and lazy load settings. If an image down the page is set to lazy load and doesn’t have a defined height, sometimes this behaviour occurs.
Try setting load to eager in the image settings to see if that helps.
There are some methods out there to keep lazy load on images and setting defined height containers for the images, but that starts to get a bit complex if it is just a few images causing the problem. And lazy load isn’t supported in all browsers as well.