Fix custom title and back button text being overwritten when panels transition.