fixed a bug in SimpleRSPicker

When used on small displays, the template index was mis-assigned.