eventListener: events bound to window are not reported

Resolves #335