Form submission doesn't work if reached trough anchor link

On my website: https://66684c799cf20c000872eb51–, I am experiencing the following issue. The page contains a form at the bottom that uses Netlify forms. When you scroll down, fill out the form, and press submit, it works correctly.

However, if you reach the form by clicking the “Contact us” button in the navigation bar, the URL changes to https://66684c799cf20c000872eb51– In this case, when the form is filled out and submitted, nothing happens.

Any advice on how to resolve this issue would be greatly appreciated!