Fix deletion of floating devices