Bugfix if centerWindow is NavController