Fixed issue removing tab event listeners.