Fix dead key bindings after closing command_entry buffer.