Added a rectangle for an event