fix categorized renderer crash (fixes #10096)