Make stepper page selection work in chrome by forcing page index to a number