More flicker-free tab switching