Fix wrong navbar on programatically instantiated nav controllers