When TopBar visibility was changed during screen animation, changes to hierarchy caused screen animation to end prematurely.