Strange. register shouldn't be called without element..
A stupid workaround may be check this.element != null but I still wanna to know the root cause.