Fixed appending vertices to closed debug shapes
Updated dcollision methods of map objects