Issue #3507809 by cmd87: Uncaught TypeError: Cannot read properties of null (reading 'querySelectorAll')
Closes #3507809