Added offset param to gate and wire render methods