Our previous attempt to fix this was backed out when it was discovered the CSS selector did not match with what the JS did, so it broke complex tables (T195108).
We can still fix this for the majority of simpler tables, and avoid breaking complex tables by simply removing the CSS approximation once the JS has run.