Fixes hidesBottomBarWhenPushed not animated properly