Problems with audio device detection

Hi! I’m having an issue similar to this topic. Whenever I plug my headphones in, I can’t switch to the built in audio speakers of my laptop.

I’m using pipewire, and when I go to pavucontrol, it says my speakers are unavailable.

However, if I fiddle with alsamixer and increase the speakers volume, while keeping the headphones on, sound comes out of the speakers normally, while the headphones are still selected in pavucontrol/native gnome audio picker.

Has anyone found a fix for this?