kangax/fabric.js — pull request #870 by miracle2k (2013-09-25 21:52:58+00:00)
Title: Fix mouse handling inside a scrollable div.

See this (using the latest master):

http://jsfiddle.net/Lmgwu/

Once you scroll inside the container, mouse coordinates are handled incorrectly. This is because all scrollLeft/scrollTop values are reset once the loop reaches the root element.