fixed mouse location isssue