ASSERT fails in RealDataMaskWidget::maskContainer()

To reproduce:

  1. Import a 2D data
  2. In the top right corner's combobox select "Mask Editor"

Seems to be a problem analog to the one fixed with commit b9de8031 (17.5.2021) after SessionItem refactoring