Fix table border when hidden