svg: remove peer from container on detach