Fixed an issue where the canvas event would not pass the correct reference [#314] Updated some documentation