Fixed issue where NavigationPane stack is not resized when rotated.