fix mouse focus issue with optionIndexes