                 self.rightMenuVisible = false
             }
 
+            self.updateContentViewAdditionalSafeAreaInsets()
             self.statusBarNeedsAppearanceUpdate()
         }
 

        UIView.animate(withDuration: self.animationDuration, animations: {
            if self.scaleContentView {
                self.contentViewContainer.transform = CGAffineTransform(scaleX: self.contentViewScaleValue, y: self.contentViewScaleValue)
            } else {
                self.contentViewContainer.transform = .identity
            }

            let animationBlock = { [unowned self] in
                self.contentViewContainer.transform = .identity
                self.contentViewContainer.frame = self.view.bounds
                self.updateContentViewAdditionalSafeAreaInsets()

                if let transform = self.menuViewControllerTransformation, self.scaleMenuView {
                    self.menuViewContainer.transform = transform
                }
