Limit fret digit combinations to be within instrument max fret number.

Fix crash when displaying fret marks above the supported range.