Deleting _track_canvas_viewport automatically destroys any child Items. The LocationMarker's group was already destroyed when ~ArdourMarker() runs and calls `delete group`. So first delete the marker, then the canvas