Fixed function call for current pointer locations of mouse