innerContainer was implicitly declared making it global scoped. This caused visibility problems for nested menu visibility.