Fix title display bug