Filling the board with treasure gems crashes the game

Filling the board with treasure gems until no three gems have the same color crashes the game. Filling the board with necro and warlord ultimate spell gems probably also have the same effect.

It’s not an important issue. I just discovered it accidentally.