Changed mouseposition to use x and y