The script gets stuck when clicking the “Drive” button from the “Window” screen.
It seems that the main screen doesn’t switch to the “Drive” view fast enough, and during that short delay, the cursor accidentally clicks on the position of “MD”, which actually belongs to a background thumbnail on the “Window” screen.
As a result, the script gets stuck and is unable to proceed to the “Drive” screen.