Tables: fixed various border overshooting issues, some mostly visible with transparent borders: (#4678, #9415)

As a side effect of cleaning up a few things, altering border size becomes closer to being correct.
3 files changed