Disable event propagation and add setting to enable it