Fixed minor bugs on TabPager