Handle emulated events on 'window' (Fixes #535)

Checks for events on `window` if they cannot be found on the node itself. This is only known to happen when Chrome emulates touchscreen mode - Events like `"ontouchstart"` work with `addEventListener` in that mode but do not appear as properties on the nodes themselves, only on `window`.