It seems like it spills to 4 directions on Chrome, but only up and left on Firefox.
The really weird part is that when I fetch https://eavan.blog/sandpile.js in Chrome, I see a "toppleAll" function near the top, but that same function is not defined when the script is fetched with Firefox.