Fixes enter key handling for some problematic cases in IE10. Taken from http://dev.ckeditor.com/ticket/9719.