Fix incorrect overflow item being selected