Fixes #778 tborder isn't applied everywhere

#778