Fix bug when click out