Fixing TabBar math.