tab switches no longer overwrite event handlers