fixed mouse position problem