Fix the wrong overflow item being selected