Fixed input issues in Firefox Fixes  #35