I couldn't pinpoint it exactly, but it seemed to be something to do with interacting with the discard pile? Either clicking on it, or the spectral arrows being discarded..? Take that with a significant grain of salt, though - I was only just starting to look into the console logs+debugger as you reverted. :)
Browser build, Chrome v123.0.6312.106