Fix crash when changing waypoint name