Merge changes I670fe942,I87eaf866,I4a729457

* changes:
  Pinned stack animation: Fix inset logic.
  Pinned stack animation: Trigger window preservation when dropping shadows.
  Pinned stack animation: Prevent window preservation during animation.