Fixes click event bubbling issues with the recorder.