Sorry if I'm being annoying, but I found a hitbox bug. The video explains it all.
Basically, after I hit Ctrl+C and re-run the command, the hitboxes are shifted away from their real location.
I really think it's because the command isn't run from the top of the window.
Could someone test this in his terminal? Maybe the bug comes from my terminal emulator actually... I use https://github.com/kovidgoyal/kitty
Here is the example file I used: https://pastebin.com/HxCY0NUm