{EDIT} I have done a bit of debugging/research. The aia project is at least 6, if not, 7 years old, uses Classic theme and LISP style lists, this could be causing the issues, updating theme to Device Default and lists to JSON, does some funny things...Working through the blocks, everything is operating as it should, just not drawing the shapes on the canvas.
I also notice that in the Web Emulator, the spinner displays a proper dropdown, instead of a modal.
Nice debugging so far. Since the blocks execute correctly but the canvas only renders a grey shape, I'd suspect a Web Emulator rendering or canvas compatibility issue rather than the grid logic itself. Testing with a minimal project using the current theme could help isolate it.