It's a caching issue. Since I very rarely change an existing microbadge, this issue doesn't come up. It only happens when I replace one that was already there. Your browser is saving the old one, and the process above forces it to discard the old one and store the new one.