Fixes #8553: Fix broken table layouts.