Issues with variants duplicating and not properly displaying or hiding when selected

As shown in this image you can see what I’m referring too, despite when I select “Hide other variants’ media after selecting a variant” it still shows every other variant. Anyone having similar issues or know of a fix?

As shown below, when selecting the blue color it still displays the white one and I don’t want it to do that. I’ve never had this issue in the past. Any fixes or people struggling with same issue?