Selection border fix