private Event existsEvent(Rectangle rect) {
        for (Event event : events) {
            // ignore if the same object.
            if (rect == event.getCollisionArea())
                continue;
            if (rect.intersects(event.getCollisionArea()))
                return event;
        }
        return null;
    }