fixed the issue of index errors when selection list changed and selected item was no longer in list.
fixed the issue of index errors when selection list changed and selected item was no longer in list.

pupil-labs/pyglui,papr/pyglui,papr/pyglui,pupil-labs/pyglui