Channel: fix undefined property

There is an error "Cannot read property '_hasX11' of undefined" if _channel property is undefined.