Merge pull request #1 from johnmccutchan/master

update
get mouse updates global
Get Mouse relative to canvas

Get Mouse relative to canvas, and update outside of the canvas aswell.
clampX/clampY

Always gives a mousepos inside of the canvasbounds, holds nearest point
to mouse if the mouse leaves the canvas
Cleanup + API to check if mouse is on the canvas
Extend the test and query offset outside of the loop
Made the testpoint red
Merge pull request #15 from pjako/master

Issue #12 mouse should always update