Fixed LineBreakListener to handle line breaks only after key release.