Merge "Avoid running layout transitions on unattached views and windows" into jb-dev