Added adjustment for border for click coords

I figured out that the reason my clicks were off was from the border
around the viewport.  Adjusting for this explicitly immediately fixed
the problem.