bugfix: left over joint could be attached to input