Make sure shell is focused in contextMenuItemTextText. Fixes #493