Fix NPE caused by RenderVoid