Fix another case for DOM.enable()

This is for #10191.

Fix another case for DOM.enable(). Also DOM.disable().

@peterflynn This is the same change made [here](https://github.com/adobe/brackets/blob/release/src/LiveDevelopment/LiveDevelopment.js#L1055) which is `release` branch only, so I guess it needs to be backed out from there?