Fixed memory leak

There was a memory leak in the sprite batch.