- Fix condition when window is null while in event. See CORE-7635.