Fix #155: MapWidget causing a crash when adding a WaypointItem