Merge "Events for window's content change should be dispatched only for the active window." into jb-mr1-dev