Fix delegate when a stack controller is instantiated within a storyboard (thanks to Angelika Ophagen for the hint)