moved utils.debounce() call to fix removal of event handler, slc ref #10695