ericdrowell/KineticJS — pull request #52 by Country (2012-07-17 10:23:41+00:00)
Title: Miscalculation of container position

Due to a wrong calculation of offsetTop and offsetLeft by the browsers, the position of the container is miscalculated if it is positioned and have a border.

You can found a test case here: http://jsfiddle.net/q5t4s/
Fail under Firefox 15, Chrome 20, IE9. Ok under Opera 12.

This patch should fix this by using getBoundingClientRect() instead of offsetTop and offsetLeft.