openlayers/openlayers — pull request #877 by gregersrygg (2013-02-11 15:38:04+00:00)
Title: Fix for Issue #798

buttonclick used page position of the PanZoomBar but clientX/Y (relative to the viewport) from the event object. The fix is to subtract page scroll from button position.