Thankfully, our method of receiving data fixes that for us. Here's what happens:
We show an "a" button whose background image is like "img/a".
When you press it, the server receives the image request for "a"
The server then pushes an update to the client to hide the current button and replace it with one whose background images is "image/aa".