Hey
It's not necessarily a bug
Once you sell an item from the inventory, the coin will show, how it's the delay from your internet connection and the server.
Simply refresh the game and it'll show your coin amount properly and the item is gone.
Hope that helps!