Fixed IE bug where pressing "enter" did not work