fix iOS issue for Mouse