Don't apply scalefactor on legend keyimage (#4885)