Fixed table rendering bug if row contains padding/margin