Thunar loses focus after opening

I have a key binding to open my default file manager, which is Thunar. When I press the key combination, thunar opens and immediately loses focus so I need to click on its window if I want to do anything with it.
I do not observe this behaviour when Nemo is my default file manager.

Forum kindly sponsored by