Fix issue where first behavior event wasn't being triggered