Fix doDeleteForwardWord

@syohex here's the fix.