Added function for sprite removal in SpriteBatch