follow up to #7876: legend doesn't need a pointer cursor