Wait for scripts to be loaded to use them in new question QCM. Fix #164858
Merge branch 'hotfix' into release/candidate