URL in button link gets old params

I have an application that scans a qr- code. In that qr-code there is a URL with the following format:
https://www.mysite.com/pagename?Param1=Value1
So far so good.
Now, after this scanning and checking, user is led back to a menu. There is a button there with a link (defined in editor as a link to the same page pagename , but without any params)

But, if you check the link, it still holds the old link (with params):
https://www.mysite.com/pagename?Param1=Value1

I have checked this on several browsers, all the same. Is this a bug or a browser feature? If last, how do I prevent it?

EDIT: actually, the whole querystring gets attached to EVERY button (all defined as a link to a page, no params possible to add in editor)
EDIT2: I can make it even more simple: if you start Wix page 1 with a query param (…?Param1=Value1) then this query is added to every link in a button (pointing to a page) from then onwards, even if you reset the .link property in code (=without query).
EDIT3: it looks that this happens to every link. Just fire up any Wix page and add a query string …?foo=bar to the URL and then look what your menu´s carry for URL: they all have the foo=bar added. This looks like a bug.

EDIT 4: I have tried everything, but the query can only be read, not set. If you hard code a link like this “…pagename?this=a_bug”, then the link becomes “…pagename?this=a_bug&Param1=Value1”, meaning that the OLD query is added.

I think this is a bug, I ran into so many problems early on with url paramters and buttons that involved Wix code that I just gave up, tried to get help on the forums but it was a production site and we just decided against it. It was doing exactly what you describe. The button would just screw up parameters especially after the first click. yup, very nasty like you describe. If you ask me, definitely a bug that needs to be investigated, but at the time I ran into it I just had to move on.