Undo button on map works but adds mystery line