Using a lot of pandemonium tokens freezes the game

Platform steam
Version 1.3.5

Trying to use pandemonium tokens in large amounts makes the game freeze. Twice I made it to around 150 and it froze when I got into my next battle.