It is a ridiculous way of doing it. `afterRender` doesn't behave as it should sooooooo. Thinking about it I only need to override $emit so I'll change it to that.