Fixed selected character not being selected