correct webkit link creation with no selection