Fixed issues about mouse