Cleaned up code in SpriteBatchItem.