I'm having the same issue playing Telepath Tactics Liberated on Steam Deck! Switching between gamepad and keyboard/mouse causes the UI to crash and not work properly. Hopefully, a patch will be released soon to fix this,s as I really enjoy the new gameplay and visuals in Liberated!