Fixed duplicate events bug: https://github.com/ZmjbS/tsar/issues/13