Fix event display bug