Merge "Restore exception behavior of getLocationInWindow."