fix eventResize for events with duration