Fixed legend bug

Remove markers before re-created them for current, home and target