change _doRender() check

Close #778

`_doRender()` is sometimes be