Fix single URL select in command mode

Check for wrapping, if true and not found reset cursor and try
again. This is pretty quick hack since this issue has more to do
with VTE than with termite.