Collapsed radiogroup buttons position bug after preview

I am designing my website with these radio group buttons which at first are collapsed but when a button is pressed they are shown. This has worked flawless for about a few weeks but this morning I opened my site and saw the following:

At first when designing the website the radio group is at the proper position (like below)


When previewing my website the buttons are collapsed by default but expanded by a button. However if I preview the website and go back to the editor without expanding the radio group button (and leaving the radio group buttons collapsed) the position and size of the radio group buttons are changed. They get put in the left corner of the website.

If I use multiple radiogroup on the same page they all get put in the left corner like:

I have also checked if this was on other pages and this was the case, it was also the case with checkboxes.