That sounds very strange. Viewing the inventory doesn't DO anything. It literally just takes a list of stuff from somewhere else, and displays it. It has no actual function other than pretty pictures.
This might sound strange, but you would be happening to have exited the shop by scrolling back on the mousewheel, would you ^^'? That's literally the only thing I can think of - cause to say it again, opening the inventory changes literally nothing as far as the game is concerned.
But regardless, I'm glad it's fixed
. Less glad that something that strange happened and I have no way of fixing it if its a bug