Ecovacs Deebot map gets screwed by HA

I have a Deebot N8 Pro and using the standard Ecovacs HA integration.
Using this vacuum cleaner through the Ecovacs application is not a problem. I can do spot cleaning, area cleaning, etc, without issues and the map keeps on being the same within the mobile application.

The integration was configured properly and I can see the device, all of its attributes and also retrieve the map as an image.

I created a couple of scripts to do spot area cleaning, like the following script below:

alias: robertdiningroom
sequence:
  - target:
      entity_id: vacuum.robert
    data:
      command: spot_area
      params:
        rooms: 1
        cleanings: 1
    action: vacuum.send_command

The very strange things that happens is that when I trigger spot area cleaning through that kind of script, the vacuum will trigger, go and clean that area but after cleaning is done the map is completely screwed up and sometimes the robot doesn’t even find its base anymore. That situation never happens when I use the mobile app and do zone cleaning through the mobile app - the map stays consistent and is always preserved after cleaning.