It happens to the best of us, the feature creep, the must-haves, the rush to ship. So, does agile actually fail to address this, or is this something subtle that manages to evade detection despite better practices and intents?
Simple, nobody pays you to notice how much of a problem the software that works perfectly has become. They pay you to improve feature x by a very small amount, or to add feature y.
So, sure Agile works fine, in the same world that most every other methodology works fine.
It's not the methodology that makes good software, it's the people behind it.
This is a management failure, and you haven't been practicing Agile.
My experience with agile has been that most managers who seek to lead agile teams wind up equating rapidly typing code to rapidly developing software.