fixed a bug that prevented some of the events from being shown in correct positions