Fix ViewPager tab state reset on orientation change.