Fix display of border on mouse selection