Fix Issue #265, the dirty indictor on TabBar is not correctly showing.