Withdrew excess HSA contribution early in year - still counted as excess contribution?

I accidentally contributed too much to my HSA in 2023, which I withdrew in September 2023 to get be back to the limit. I received 2 1099-SA forms, one for my total overall contribution and one for my excess contribution.

 

I entered both forms into TurboTax, and now it shows my total contribution as the full number inclusive of the excess that was withdrawn earlier in the year. Will I be penalized even though the excess was already removed?