Fixed bug with dog event not firing