Don't compare types to fix overscroll after clicking a tab