[#75762464] Fix when touch/scroll events are suppressed on blockly blocks and background.

Moved this block back to core/utils.