Makes wire gate only constructable on metal poles

Instead of where an existing wood door is, or under a roof, for example. Couldn't see a way to construct them outside without this. This also fixes a bug where a wire gate constructed over a wood door would teleport the wood door out of existence.