Fixes event ordering problems in browsers other than chrome
Merge pull request #170 from adicu/disappearing_events_fix

Fixes event ordering problems in browsers other than chrome