Issue #34: Workaround for a bug in Event Hooks which makes it fail completely with IE