Fix auto render check