In addition to preventing the event when starting translation mode, prevent it when stopping translation mode.