Background clipping just did the trick.
Just apply "background-clip: padding-box;" on the th and it works.
according to the docs: https://developer.mozilla.org/en-US/docs/Web/CSS/background-clip.
"No background is drawn below the border (background extends to the outside edge of the padding)."