Fix `events` hash usage in component

Each instance of a component has is own `events` hash.