Remade AddObstacle layout.