Isometric Map Scroll

I am working with a isometric game and I have the hero moving with respect to click on the screen, and when the mouse is on the edge of the view screen it scrolls it by 22 pixels in that direction. But then when I try and click on the new position of the map. The hero does not walk to the correct spot because of the offset of the map moving. This there anyway I can get it so he moves the correct spot even after the map as been scrolled?