Units walk through walls

I saved this scenario and this happens always:

There were 10 Elephants, 9 escaped, walls are untouched.
Note: after the Elephants walks through walls, they can also walk through other buildings like Houses, when they approach their primary target.