I had two styles that were supposed to be the same size and annoyingly the one was loose. I replaced those.

Basically there are two “spring tabs” on the switch. I took a small flat file on edge and notched a slot for that ear to fall into so it wouldn’t rotate.