Fix for autowire button

(It didn't actually create wires)