Remove a texture leak and bugfix a race condition in animate