The fix that they applied wouldn't work as a general solution, it would break other things.
This commit implements their solution in a 'If Steam Deck then ' kind of way so it will resolve the Steam Deck issue on mainline without breaking other things.