Gem by Gem bug solution? (no code)

Basically, the gems on the top moved to the bottom and they still counted as linked at the top like a ghost gem.

The one that reached the bottom first started moving around again.

This is strange, if your pet is not mimic