I'm making a copy of the game Battlecity for Game Boy, and I'm having an issue where the enemy tanks are penetrating through the walls of my map. The map has been made with Tiled and imported following the same procedure as in the TiledEditor demo. Here's a gif to illustrate (sorry about the shitty quality, the game is actually slower):
Take a look at the two tanks on the right. At some point they aren't properly separated and just disappear into the void. Anyone has any idea what might be happening here?
It looks like, even though the touching flags are updated, the separation doesn't happen anyway. Is this a known bug?