fix(events): Avoid raising data events twice

Close #289