fix graduated renderer crash (followup 6de53e51b)