Fix duplicate Events in IE

Adresses
https://github.com/yiisoft/yii/issues/773
https://github.com/yiisoft/yii/pull/1150