Can't switch Firefox windows using command+tilde
FWIW, I fixed the problem the following way.

I noticed that the ⌘+~ stops at a specific window, while works on other Firefox windows.

I closed that window, then re-opened it via History menu. The effect was gone, and ⌘+~ started working as expected.