Merge "Update input policy to handle embedded windows"