Fixed implementation of enter key.