Fixed the ie 8 input bug properly