Revert "Delete rubberband if deactivating capture tool" Fix #8348

This reverts commit b5a5264c7fcf165d9c2a8dc48db180ea6f9e8fb6.