Fix for #6937, ensure QgsRubberBand is deleted if no active vector layer