Fixed an issue where empty fields would affect the layout.