Bug: resumeOnEnter in the insert mode is not being cleared.