fixing bug with creating wires on firefox