Fix agenda event-items toggling in firefox