Fix meta+a deletes editable contents on OSX