Event added to view, but it is not clickable

I’m having a problem that adding an event is not working properly on a timelineview with rendermode tree. When I doubleclick an empty cell, the onEventCreated event is fired and the params id and e are populated with values. When I try to save the event, the onEventAdded event is fired and the params id and e are populated with values, then the Save() method on the server controller is called (which does not save anything, it’s just dummy code for now).

When I try to click on the newly created event, the onEmptyClick event is fired.

Any thoughts on how I can work out what the problem is?