How do I enforce a fixed width / height?

Setting an element to ‘fixed height’ at the component level, would give me the idea that the height is fixed. But I can still resize instances of it, and it becomes an issue when I try to swap an instance that has a different size.

For example in this video, I want this toggle to always be 50x32 px. How do I make sure this is enforced everywhere?

Also wondering what the point is of ‘fixed width/height’ if its not actually fixed? Other tools like XD, Sketch, UXPin, will all make sure that it remains fixed.