Some buttons always redirect to homepage instead of selected page

I’m having a strange issue with links in Elements.

Some buttons work correctly, but certain buttons always redirect to the homepage instead of the page I select.

Things I have tried:
• Editing the existing link inside the Global
• Creating a completely new button with a new link
• Adding a completely new container that is not a Global and then creating a new button inside it
• Selecting the correct page again in the link dialog

Even when I build a new container and a new button from scratch (outside the Global), the link still redirects to the homepage.

Since other buttons on the same page work correctly, it seems to only affect certain buttons.

Has anyone experienced this?
Is this a known bug or am I missing something?

TIA

Henrik