The problem is solved. It was some kind of weird glitch with WordPress (or maybe my browser?) remembering the previous version of the file (which I had “permanently deleted.”) I “permanently deleted” the new file with the transparent background and renamed it. Now it’s working.
If I have more problems I’ll upload screenshots.