Hi Przemek,
If you need to use the Apply Box Mapping feature, you should apply it just to geometric segments - instead of using a Group, connecting these "geometric segments" with "non-geometric segments" should be done within the Compose Operator in the Grouped mode.
Best regards,