Fixed switching editing tabs.