Ignore Window objects when filtering events