Fix context of event's html