Compromised UI positioning to guarantee selection retention and remove the need to insert dummy <span>s into the DOM