The ball has some kinetic energy at it's maximum height which you've neglected.
Edit:
I said you would be right if it was launched straight up, but that's not true. Sorry, I'm tired.
(If it was launched straight up you would use 8.2m for "h" not 12.9m)