Fix bad input reading after a cx menu copy + unfocus
Fix bad input reading after a cx menu copy + unfocus

Closes #4569

schanzer/CodeMirror,hackmdio/CodeMirror,SidPresse/CodeMirror,MarcelGerber/CodeMirror,schanzer/CodeMirror,grzegorzmazur/CodeMirror,pabloferz/CodeMirror,notepadqq/CodeMirror,jkaplon/CodeMirror,thomasjm/CodeMirror,hackmdio/CodeMirror,notepadqq/CodeMirror,MarcelGerber/CodeMirror,nightwing/CodeMirror,ficristo/CodeMirror,jayaprabhakar/CodeMirror,SidPresse/CodeMirror,jkaplon/CodeMirror,kerabromsmu/CodeMirror,ficristo/CodeMirror,jkaplon/CodeMirror,thomasjm/CodeMirror,MarcelGerber/CodeMirror,dperetti/CodeMirror,jayaprabhakar/CodeMirror,hackmdio/CodeMirror,thomasjm/CodeMirror,mtaran-google/CodeMirror,dperetti/CodeMirror,ejgallego/CodeMirror,ficristo/CodeMirror,ejgallego/CodeMirror,pabloferz/CodeMirror,dperetti/CodeMirror,nightwing/CodeMirror,namin/CodeMirror,codio/CodeMirror,wingify/CodeMirror,wingify/CodeMirror,codio/CodeMirror,schanzer/CodeMirror,mtaran-google/CodeMirror,ejgallego/CodeMirror,nightwing/CodeMirror,crazy4chrissi/CodeMirror,pabloferz/CodeMirror,grzegorzmazur/CodeMirror,SidPresse/CodeMirror,kerabromsmu/CodeMirror,namin/CodeMirror,codio/CodeMirror,crazy4chrissi/CodeMirror,grzegorzmazur/CodeMirror,jayaprabhakar/CodeMirror,namin/CodeMirror,notepadqq/CodeMirror,mtaran-google/CodeMirror,kerabromsmu/CodeMirror,crazy4chrissi/CodeMirror,wingify/CodeMirror