0.11.5 Game Slow down after acquiring treasure

The game seems to slow down for a few seconds sometimes after acquiring treasure, in particular after some treasure chest, and also after some fights. The movement of the character is significantly slower, and then after a few seconds speeds back to normal.

Maybe caused by having played for a while, accumulated lots of items, and some inefficient sorting of inventory or some such?