Merge "Fix 5229466: don't consume pointer events outside the window"