Qutebrowser becoming unresponsive in Hyprland

I am going crazy trying to solve this one. I am running NixOS unstable and Hyprland. Recently after applying a NixOS update, Qutebrowser began behaving badly.

Qutebrowser works perfectly fine if I run it in a single window.

However, if I have two Qutebrowser windows open on two different workspaces, when I switch from one of the workspaces to the other, the keyboard and mouse are no longer responsive inside Qutebrowser. However, I find that if I switch back to the previous workspace, then back to the new one, the window is once again responsive.

Any ideas?