Fixed tables layout and rendering bugs.