Home Assistant Connect ZBT-2 integration does not work unless it is mapped to /dev/ttyACMx in docker

I just got a ZBT-2 (along with a ZWA-2), and replaced my Sonoff dongle with it. I managed to get it working through ZHA pretty easily, but for some reason the Home Assistant Connect ZBT-2 integration would not work.

As per the usual recommendation, I mapped the device id /dev/serial/by-id/usb-Nabu_Casa_ZBT-2_xxxxxxxxxxxx-if00 to docker, in this case to /dev/zigbee. I had to manually specify the serial port (/dev/zigbee) in ZHA setup, but otherwise the setup went as expected.

Upon restarting HA or rebooting the server, the Home Assistant Connect ZBT-2 integration would always detect the device, but upon trying to proceed with setup, it would always throw an error that it could not update the firmware. When I checked the logs, it looks like the integration was trying to use the device name from the host (in this case /dev/ttyACM0), which I don't have mapped to docker, causing the error. The only way I could get it to work was to map the device using '/dev/ttyACM0:/dev/ttyACM0', which is obviously not ideal.

Am I doing something wrong here, or could I be running into a bug of some sort? Here's my compose file. The commented device mapping is my original config where the ZHA works but the ZBT-2 integration does not work:

services:
  homeassistant:
    container_name: homeassistant
    image: "ghcr.io/home-assistant/home-assistant:stable"
    volumes:
      - /opt/docker/appdata/homeassistant:/config
      - /opt/docker/appdata/homeassistant/media:/media
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    networks:
      homeassistant:
        ipv4_address: 192.168.1.xx
        mac_address: xx:xx:xx:xx:xx:xx 
    devices:
      # - /dev/serial/by-id/usb-Nabu_Casa_ZBT-2_xxxxxxxxxxxx-if00:/dev/zigbee
      - /dev/ttyACM0:/dev/ttyACM0
    cap_add:
      - NET_ADMIN
      - NET_RAW

networks:
  homeassistant:
    name: macvlan_net
    external: true

Thanks.