Be more cautious about placing the cursor

If we can't find a content offset, check for a slug at 0, otherwise
give up. Don't assume it's safe to put the selection at 1.

Bug: 71187
Change-Id: I72556be6bdc45fc6ff62a4096ba19a26da18a91f
Merge "Be more cautious about placing the cursor"