fix input focus bug on firefox due to jqueryui