Fix for numberPicker on Firefox