use DomElement.getBoundingClientRect() to get page offset of canvas; relevant for mouse position
use DomElement.getBoundingClientRect() to get page offset of canvas; relevant for mouse position

GameJs/gamejs,jrburga/jsvgdl,jrburga/jsvgdl,jrburga/jsvgdl,jrburga/jsvgdl,GameJs/gamejs,GameJs/gamejs