input range onfocus bug fix