OH3 - Masonry cols in popup page

I’ve define the number of cols I would like to have in a masonry base on screensize:

masonry:
  - component: oh-masonry
    config:
      cols:
        "768": 1
        "1023": 2
        "1280": 3
        default: 3

If I navigate to the page the setting is respected, but if I open it as popup the it shows 3 cols even if the popup is smaller. It might take the actual page width into account here. Is there a possibility to achieve responsive columns for popups as well?