fixes delayed NavigationBar