Thank you for checking this code on your desktop, Gianluca.
I can verify your observations that the code works on the desktop (V14.2 Windows 10), which leads to the important realization that the code does not seem to work correctly on the cloud. I am accessing the Wolfram Cloud through a Google Chrome web browser on Windows Desktops with my students.
Can anyone else verify that the code in question does not work on the cloud?